package com.gupaoedu.vip.delegate;

/**
 * Created by zhaozhonghai on 2017/5/24.
 */
public class XiaoMing implements Friend {
    private Friend friend;
    public XiaoMing(Friend friend){
        this.friend=friend;
    }
    @Override
    public void doSomeThing() {
        this.friend.doSomeThing();
    }
}
